package com.whut.monitor.service;

import java.util.List;

import com.whut.monitor.vo.Tree;
import com.whut.monitor.model.ChannelEntity;
import com.whut.monitor.vo.ChannelVo;
import com.whut.monitor.vo.PageFilter;

/**
 * @author Sandeepin
 * 通道服务层接口
 */
public interface IChannelService {

	List<ChannelVo> dataGrid(ChannelVo channelVo, PageFilter pageFilter);

	Long count(ChannelVo channelVo, PageFilter pageFilter);

	void add(ChannelVo channelVo);

	void delete(Integer id);

	void edit(ChannelVo channelVo);

	List<Tree> tree();

	List<ChannelEntity> getChannelByEquip(Integer equipmentId, Integer channelType);

	List<ChannelEntity> getSensorTypeByEquip(Integer equipmentId);
}
